package ooday02;

 class Dog extends Animal implements Swim{
     Dog(){}
     Dog(String name,int age,String color){
         super(name,age,color);
     }
     void eat() {
         super.eat();
         //System.out.println(color+"颜色的"+age+"岁的小狗"+name+"正在吃骨头");
     }
     void lookHouse(){
         System.out.println(color+"颜色的"+age+"岁的小狗"+name+"正在看家");
     }
     public void swim(){}
}
